package com.yj.springbootaop.jdkproxy;

public class Test {
    public static void main(String[] args) {
        SmsServiceImpl smsService = new SmsServiceImpl();
        SmsService proxyObject = (SmsService) JdkProxyFactory.getProxyObject(smsService);
        proxyObject.send("hello");
    }
}
